class Clothes2 {
    String color;
    char size;
    Clothes2(String color, char size) {
        this.color = color;
        this.size = size;
    }
}

public class field_n {
    public static void main(String[] args) {
        Clothes2 dress = new Clothes2("red", 'S');
        Clothes2 shirt = new Clothes2("green", 'M');
        
        System.out.printf("dress (%s, %c)%n", dress.color, dress.size);
        System.out.printf("shirt (%s, %c)%n", shirt.color, shirt.size);
    }
}


